package com.scwuhua.mapper;

import java.util.List;
import com.scwuhua.domain.MeteorologicalSoil;

/**
 * 数据查询Mapper接口
 * 
 * @author wuhua
 * @date 2023-05-06
 */
public interface MeteorologicalSoilMapper 
{
    /**
     * 查询数据查询
     * 
     * @param id 数据查询主键
     * @return 数据查询
     */
    public MeteorologicalSoil selectMeteorologicalSoilById(Integer id);

    /**
     * 查询数据查询列表
     * 
     * @param meteorologicalSoil 数据查询
     * @return 数据查询集合
     */
    public List<MeteorologicalSoil> selectMeteorologicalSoilList(MeteorologicalSoil meteorologicalSoil);

    /**
     * 新增数据查询
     * 
     * @param meteorologicalSoil 数据查询
     * @return 结果
     */
    public int insertMeteorologicalSoil(MeteorologicalSoil meteorologicalSoil);

    /**
     * 修改数据查询
     * 
     * @param meteorologicalSoil 数据查询
     * @return 结果
     */
    public int updateMeteorologicalSoil(MeteorologicalSoil meteorologicalSoil);

    /**
     * 删除数据查询
     * 
     * @param id 数据查询主键
     * @return 结果
     */
    public int deleteMeteorologicalSoilById(Integer id);

    /**
     * 批量删除数据查询
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMeteorologicalSoilByIds(Integer[] ids);
    /**
     * 根据设备id查询数据
     * */
    MeteorologicalSoil selectMeteorologicalSoilByFacId(Integer facId);
}
